import i18n from "@/locale/index";
import Layout from "@/layout/index";

export default {
    //财务管理
    path: '/finance',
    redirect: '/finance/paymentList',
    meta: {
        path: 'finance'
    },
    component: Layout,
    children: [
        {
            //打款列表
            path: 'paymentList',
            name: 'paymentList',
            meta: {
                path: 'finance/paymentList'
            },
            component: () => import('@/views/finance/paymentList/index'),
        },
        {
            //还款列表
            path: 'repaymentList',
            name: 'repaymentList',
            meta: {
                path: 'finance/repaymentList'
            },
            component: () => import('@/views/finance/repaymentList/index'),
        },
        {
            //展期记录明细
            path: 'exhibitionDetails',
            name: 'exhibitionDetails',
            meta: {
                path: 'finance/exhibitionDetails'
            },
            component: () => import('@/views/finance/exhibitionDetails/index'),
        },
        {
            //减免记录
            path: 'reductionRecord',
            name: 'reductionRecord',
            meta: {
                path: 'finance/reductionRecord'
            },
            component: () => import('@/views/finance/reductionRecord/index'),
        },
        {
            //回款明细表
            path: 'collectionDetails',
            name: 'collectionDetails',
            meta: {
                path: 'finance/collectionDetails'
            },
            component: () => import('@/views/finance/collectionDetails/index'),
        },
        {
            //还款溢出表
            path: 'repaymentOverflow',
            name: 'repaymentOverflow',
            meta: {
                path: 'finance/repaymentOverflow'
            },
            component: () => import('@/views/finance/repaymentOverflow/index'),
        },
        {
            //收支明细表
            path: 'expenditureDetails',
            name: 'expenditureDetails',
            meta: {
                path: 'finance/expenditureDetails'
            },
            component: () => import('@/views/finance/expenditureDetails/index'),
        },
        {
            //逾期豁免表
            path: 'lateExemption',
            name: 'lateExemption',
            meta: {
                path: 'finance/lateExemption'
            },
            component: () => import('@/views/finance/lateExemption/index'),
        },
        {
            //虚拟卡列表
            path: 'virtualCardList',
            name: 'virtualCard',
            meta: {
                path: 'finance/virtualCardList'
            },
            component: () => import('@/views/finance/virtualCardList/index'),
        },
        {
            //展期明细管理
            path: 'extendCollectionDetails',
            name: 'extendCollectionDetails',
            meta: {
                path: 'finance/extendCollectionDetails'
            },
            component: () => import('@/views/finance/extendCollectionDetails/index'),
        },
        {
            //非业务打款
            path: 'wagesRepayment',
            name: 'wagesRepayment',
            meta: {
                path: 'finance/wagesRepayment'
            },
            component: () => import('@/views/finance/wagesRepayment/index'),
        },
    ]
}
